using System;
using System.Collections.Generic;
using System.Text;
using OneSoft.EntityCore;
using BySoft.Server.Common.Schema;

namespace BySoft.Server.Common.Entity
{
[Serializable]
public class SysModuleEntity : EntityBase
{
public SysModuleTable TableSchema
{
get
{
return (SysModuleTable)_tableSchema;
}}

public SysModuleEntity()
{
_tableSchema = SysModuleTable.Current;
}

#region 属性列表

public Int32? ModulePrimaryID
{
get { return Convert.ToInt32(GetData(SysModuleTable.C_MODULEPRIMARYID)); }
set { SetData(SysModuleTable.C_MODULEPRIMARYID, value); }
}

public String ModuleID
{
get { return Convert.ToString(GetData(SysModuleTable.C_MODULEID)); }
set { SetData(SysModuleTable.C_MODULEID, value); }
}

public String ModuleName
{
get { return Convert.ToString(GetData(SysModuleTable.C_MODULENAME)); }
set { SetData(SysModuleTable.C_MODULENAME, value); }
}

public String ParentModuleID
{
get { return Convert.ToString(GetData(SysModuleTable.C_PARENTMODULEID)); }
set { SetData(SysModuleTable.C_PARENTMODULEID, value); }
}

public String FunctionUrl
{
get { return Convert.ToString(GetData(SysModuleTable.C_FUNCTIONURL)); }
set { SetData(SysModuleTable.C_FUNCTIONURL, value); }
}

public String PageType
{
get { return Convert.ToString(GetData(SysModuleTable.C_PAGETYPE)); }
set { SetData(SysModuleTable.C_PAGETYPE, value); }
}

public Int32? MODIFYCOLUMNLASTOFINDEX
{
get { return Convert.ToInt32(GetData(SysModuleTable.C_MODIFYCOLUMNLASTOFINDEX)); }
set { SetData(SysModuleTable.C_MODIFYCOLUMNLASTOFINDEX, value); }
}

public Int32? DELETECOLUMNLASTOFINDEX
{
get { return Convert.ToInt32(GetData(SysModuleTable.C_DELETECOLUMNLASTOFINDEX)); }
set { SetData(SysModuleTable.C_DELETECOLUMNLASTOFINDEX, value); }
}

public String MODULERIGHTS
{
get { return Convert.ToString(GetData(SysModuleTable.C_MODULERIGHTS)); }
set { SetData(SysModuleTable.C_MODULERIGHTS, value); }
}

public Int32? OrderNo
{
get { return Convert.ToInt32(GetData(SysModuleTable.C_ORDERNO)); }
set { SetData(SysModuleTable.C_ORDERNO, value); }
}

public String DataRights
{
get { return Convert.ToString(GetData(SysModuleTable.C_DATARIGHTS)); }
set { SetData(SysModuleTable.C_DATARIGHTS, value); }
}

public String Status
{
get { return Convert.ToString(GetData(SysModuleTable.C_STATUS)); }
set { SetData(SysModuleTable.C_STATUS, value); }
}

public String CreateUserId
{
get { return Convert.ToString(GetData(SysModuleTable.C_CREATEUSERID)); }
set { SetData(SysModuleTable.C_CREATEUSERID, value); }
}

public String CreateUserName
{
get { return Convert.ToString(GetData(SysModuleTable.C_CREATEUSERNAME)); }
set { SetData(SysModuleTable.C_CREATEUSERNAME, value); }
}

public DateTime? CreateDate
{
get { return Convert.ToDateTime(GetData(SysModuleTable.C_CREATEDATE)); }
set { SetData(SysModuleTable.C_CREATEDATE, value); }
}

public String ModifyUserId
{
get { return Convert.ToString(GetData(SysModuleTable.C_MODIFYUSERID)); }
set { SetData(SysModuleTable.C_MODIFYUSERID, value); }
}

public String ModifyUserName
{
get { return Convert.ToString(GetData(SysModuleTable.C_MODIFYUSERNAME)); }
set { SetData(SysModuleTable.C_MODIFYUSERNAME, value); }
}

public DateTime? ModifyDate
{
get { return Convert.ToDateTime(GetData(SysModuleTable.C_MODIFYDATE)); }
set { SetData(SysModuleTable.C_MODIFYDATE, value); }
}

#endregion
}
}